package com.tuweiya.study.springmvc002.eventBus.event;

import org.springframework.stereotype.Component;

/**
 * @Author: Mr_tu
 * @Date: Create in 17:00 2018/6/7
 * @Description: 具体的逻辑代码
 */
@Component
public class EmailEvent {

    public void sendEmail() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Send Email......");
    }
}
